body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-image: url("../images/bg.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.title {
    text-align: center;
}

.title h1 {
    color: #333;
    font-size: 50px;
    margin-bottom: 20px;
    font-family: "华文行楷";
}
.login-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 400px;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: bold;
}

.input-group {
    position: relative;
}

.input-group input {
    padding-left: 35px;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 40px;
    width: 100%;
}

.input-group.fa-user,
.input-group.fa-lock {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.login-button {
    width: 100%;
    background-color: #3c8be8;
    border: none;
    color: white;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
}

.login-button:hover {
    background-color: #0056b3;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.register-link a {
    color: #007bff;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.error-message {
    color: red;
    margin-top: 10px;
    text-align: center;
}